public class StringDemo3 {
    public static void main(String[] args) {
        String phonenumber = "18885671153";
        String start = phonenumber.substring(0,3);
        System.out.println(start);
        String end = phonenumber.substring(7);
        System.out.println(end);

        System.out.println(start+"****"+end);
    }
}
